package com.xxx.system.domain;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

/**
 * Tb Employee表
 *
 * @TableName tb_employee
 */
@Data
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("盐值")
    private String salt;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("员工状态 - 1启用，0禁用")
    private Integer state;

    @ApiModelProperty("登录信息Id")
    private Long logininfoId;
    @ApiModelProperty("角色对象集合")
    private List<Role> roleObjects= Collections.emptyList() ;

    @ApiModelProperty("角色对象id集合")
    private List<Long> roles=Collections.emptyList();

}